﻿using System;
using System.ComponentModel.DataAnnotations;

namespace VOICeVIO.Hybrid.Models
{
    public class Song
    {
        [Key]
        public int Id { get; set; }
        public string Uid { get; set; }
        public string SongName { get; set; }
        public string Author { get; set; }
        public string Note { get; set; }
        public string IP { get; set; }
        public DateTime CreateTime { get; set; }
        public bool IsPublic { get; set; } = false;
        public string ProjectHash { get; set; }
        public Singer Singer { get; set; } = Singer.None;
        public double Volume { get; set; } = 6.0;
        /// <summary>
        /// Web link
        /// </summary>
        public string Link { get; set; }
    }
}
